﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PersonaLibrary.Commands.LoadWithCommands
{
	internal static class Commands
	{
		private static LoadOrganizationAssociation _loadOrganizationAssociation;
		private static LoadEmployeeConnections _loadEmployeeConnections;
		private static LoadJobConnections _loadJobConnections;
		private static LoadNoteEmployees _loadNoteEmployees;
		private static LoadEmployeeWithNote _loadEmployeeWithNote;
		private static ShowFullFoto _showFullFoto;

		public static ShowFullFoto ShowFullFoto
		{
			get
			{
				if(_showFullFoto == null)
					_showFullFoto = new ShowFullFoto();
				return _showFullFoto;
			}
		}

		public static LoadEmployeeWithNote LoadEmployeeWithNote
		{
			get
			{
				if(_loadEmployeeWithNote == null) 
					_loadEmployeeWithNote = new LoadEmployeeWithNote();
				return _loadEmployeeWithNote;
			}
		}

		public static LoadNoteEmployees LoadNoteEmployees
		{
			get
			{
				if(_loadNoteEmployees == null) _loadNoteEmployees = new LoadNoteEmployees();
				return _loadNoteEmployees;
			}
		}

		public static LoadJobConnections LoadJobConnections
		{
			get
			{
				if (_loadJobConnections == null) _loadJobConnections = new LoadJobConnections();
				return _loadJobConnections;
			}
		}

		public static LoadEmployeeConnections LoadEmployeeConnection
		{
			get
			{
				if (_loadEmployeeConnections == null) _loadEmployeeConnections = new LoadEmployeeConnections();
				return _loadEmployeeConnections;
			}
		}

		public static LoadOrganizationAssociation LoadOrganizationAssociation
		{
			get
			{
				if (_loadOrganizationAssociation == null) _loadOrganizationAssociation = new LoadOrganizationAssociation();
				return _loadOrganizationAssociation;
			}
		}
	}
}
